import 'package:application_with_bilibili/widget/swiper.dart';
import 'package:flutter/material.dart';

class PageViewSwiperPage extends StatefulWidget {
  const PageViewSwiperPage({super.key});

  @override
  State<PageViewSwiperPage> createState() => _PageViewSwiperPageState();
}

class _PageViewSwiperPageState extends State<PageViewSwiperPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("PageViewSwiper"),
      ),
      body: Swiper(images: [
        Image.asset("images/1.png"),
        Image.asset("images/2.jpg"),
        Image.asset("images/3.jpg"),
        Image.asset("images/4.jpg"),
      ]),
    );
  }
}
